#include <stdio.h>
#include <string.h>

int main(){
	FILE *fp;
	char buffer[100];
	
	fp = fopen("D:\\welcome.dat","w+");
	fread(buffer,1,30,fp);
	printf("%s\n",buffer);
	fclose(fp);
	
	return 0;
}
